/**
 * @file TextWindowList.h
 * @brief Routines for manipulating text windows (header)
 * @author Ajit Warrier @date 28 Oct 2005
 * $Id: TextWindowList.h 10 2007-06-28 20:08:57Z mfms $
 */

/*
 *  Copyright (C) 2001, 2005  Ajit Warrier, Matthias Stallmann.
 *  Contact: matt_stallmann@ncsu.edu
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program (file COPYING.txt); if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 *  USA.
 */

#ifndef TEXT_WINDOWLIST_H
#define TEXT_WINDOWLIST_H

/* X11 headers */
#include <X11/X.h>
#include <stdlib.h>
#include <string.h>

#define NULL_TEXT_WINDOW NULL

extern Window main_canvas;

typedef struct ListNode * TWIN;

TWIN TWL_add(Window win);
void TWL_remove(TWIN win);
void TWL_change(TWIN win, const char *msg);
Window TWL_window(TWIN win);
const char* TWL_message(TWIN win);
TWIN TWL_lookup(Window xwin);

#endif

/*  [Last modified: 2007 06 28 at 19:34:43 GMT] */
